package com.xssn.fjnd.content.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xssn.fjnd.entities.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 评论信息表 Mapper 接口
 * </p>
 *
 * @author 线狮少年
 * @since 2023-08-14
 */
public interface CommentMapper extends BaseMapper<Comment> {
    /**
     * 通过视频id递归查询所有评论
     * @param videoId
     * @return
     */
    List<Comment> findByVideoId(@Param("videoId") String videoId);
}
